﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ESoft.Helpers
{
    /// <summary>
    /// 集合帮助类
    /// </summary>
    public class ListHelper
    {
        /// <summary>
        /// 创建列表
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="arrays"></param>
        /// <returns></returns>
        public static List<T> NewList<T>(params T[] arrays)
        {
            return new List<T>(arrays);
        }

        //public static Dictionary<T1,T2> Dictionary<T1,T2>(params T[] arrays)
        //{
        //    return new List<T>(arrays);
        //}
    }
}
